<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>管理员管理-实验室-添加</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="STATIC/css/font.css">
    <link rel="stylesheet" href="STATIC/css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="STATIC/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="STATIC/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  
  <body>
    <div class="x-body">
        <form method="post" action="labadd_c" class="layui-form">
          <div class="layui-form-item">
              <label for="L_username" class="layui-form-label">
                  <span class="x-red">*</span>实验室地址
              </label>
              <div class="layui-input-inline">
                  <input type="text" value="{$lab->address}" id="L_username" name="address" required="" lay-verify="nikename"
                  autocomplete="off" class="layui-input">
              </div>
          </div>
            <div class="layui-form-item">
                <label for="L_username" class="layui-form-label">
                    <span class="x-red">*</span>实验室名称
                </label>
                <div class="layui-input-inline">
                    <input type="text" value="{$lab->name}" name="name" required=""
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_username" class="layui-form-label">
                    <span class="x-red">*</span>周几
                </label>
                <div class="layui-input-inline">
                    <select name="week" class="valid">
                        <option {eq name="lab->week" value="1"} selected{/eq} value="1">周一</option>
                        <option {eq name="lab->week" value="2"} selected{/eq} value="2">周二</option>
                        <option {eq name="lab->week" value="3"} selected{/eq} value="3">周三</option>
                        <option {eq name="lab->week" value="4"} selected{/eq} value="4">周四</option>
                        <option {eq name="lab->week" value="5"} selected{/eq} value="5">周五</option>
                        <option {eq name="lab->week" value="6"} selected{/eq} value="6">周六</option>
                        <option {eq name="lab->week" value="7"} selected{/eq} value="7">周日</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_username" class="layui-form-label">
                    <span class="x-red">*</span>节数
                </label>
                <div class="layui-input-inline">
                    <select  name="node" class="valid">
                        <option {eq name="lab->node" value="1"} selected{/eq} value="1">1,2节</option>
                        <option {eq name="lab->node" value="2"} selected{/eq} value="2">3,4节</option>
                        <option {eq name="lab->node" value="3"} selected{/eq} value="3">5,6节</option>
                        <option {eq name="lab->node" value="4"} selected{/eq} value="4">7,8节</option>
                        <option {eq name="lab->node" value="5"} selected{/eq} value="5">9,10节</option>
                    </select>
                </div>
            </div>
            <input type="text" value="{$lab->id}"  name="id" hidden="hidden">


          <div class="layui-form-item">
              <label for="L_repass" class="layui-form-label">
              </label>
              <button  class="layui-btn" type="submit" >
                  增加
              </button>
          </div>
      </form>
    </div>

  </body>

</html>